<?php
/**
 * Created by Ling.
 * Created on 2021/3/30 17:00
 * @email: L_ing1992@163.com
 */

namespace App\Http\Responses\Enum;

use App\Http\Responses\RespCode;

class AuthExceptionEnum
{
    const NOT_AUTHENTICATION = [
        'code' => RespCode::NOT_AUTHENTICATION,
        'msg' => 'token失效，请重新登录 ！！'
    ];

    const NOT_AUTHORIZATION = [
        'code' => RespCode::NOT_AUTHORIZATION,
        'msg' => '非法操作,没有权限！！'
    ];

    const ACCOUNT_PASSWORD_NOT_MATCH = [
        'code' => RespCode::FAILED,
        'msg' => '账号或密码错误！！'
    ];

    const ACCOUNT_IS_DISABLED = [
        'code' => RespCode::FAILED,
        'msg' => '账号被禁用！！'
    ];

}
